﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using mepostras.BLL;

namespace mepostras.BO
{
    public interface IUserTypeBo
    {
        /// <summary>
        /// Insert
        /// </summary>
        /// <param name="userType"></param>
        /// <param name="messageCode">Mã nội dung trả về</param>
        /// <returns></returns>
        bool Insert(UserType userType, out string messageCode);

        /// <summary>
        /// Update 
        /// </summary>
        /// <param name="userType"></param>
        /// <param name="messageCode">Mã nội dung trả về</param>
        /// <returns></returns>
        bool Update(UserType userType, out string messageCode);

        /// <summary>
        /// Delete 
        /// </summary>
        /// <param name="userType"></param>
        /// <param name="messageCode">Mã nội dung trả về</param>
        /// <returns></returns>
        bool Delete(UserType userType, out string messageCode);

        /// <summary>
        /// Delete 
        /// </summary>
        /// <param name="userTypeId"></param>
        /// <param name="messageCode">Mã nội dung trả về</param>
        /// <returns></returns>
        bool Delete(int userTypeId, out string messageCode);
    }
}
